package com.victor.service;

import java.util.List;
import java.util.Map;

import com.victor.entity.Bookcase;

public interface BookcaseService {
	boolean batchDelete(int[] ids);

	boolean insert(Bookcase record);

	Bookcase findById(Integer bId);

	boolean update(Bookcase record);

	List<Map<String, String>> findByAttribute(Bookcase bookcase);

	List<Map<String, String>> findByUseridm(String userid,Integer limit,Integer btype, Integer pictype);

	List<Bookcase> findByParam(Bookcase b);

	boolean batchInsert(List<Bookcase> list);
	// 修改 订购中 限时免费 过期的绘本
	void updateOverdue();

	boolean contrastBySid(String sid, int userid);
}